package com.lysj.bhp.system.domain;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "t_verify")
public class Verify {
    @Id
    private String email; // 邮箱
    private String verify;
    private long expires;// 过期时间
    private long nextSendEmailMs;//下次发送邮件的时间

    public long getExpires() {
        return expires;
    }

    public void setExpires(long expires) {
        this.expires = expires;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getVerify() {
        return verify;
    }

    public void setVerify(String verify) {
        this.verify = verify;
    }

    public long getNextSendEmailMs() {
        return nextSendEmailMs;
    }

    public void setNextSendEmailMs(long nextSendEmailMs) {
        this.nextSendEmailMs = nextSendEmailMs;
    }
}
